class HistoricoExterno < ActiveRecord::Base
  belongs_to :usuario
  
  validates_presence_of :usuario
  validates_presence_of :empresa

  named_scope :ordenado_desc, :order => "desde DESC"
  named_scope :asc,:order => "desde ASC"
end
